package com.dhcc.bpm.modules.orga.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcc.bpm.modules.orga.entity.ProduceApply;
import com.dhcc.bpm.modules.orga.vo.AppProduceVo;
import com.dhcc.bpm.modules.orga.vo.ProduceApplyVO;
import org.springblade.core.mp.base.BaseService;

import java.util.List;

/**
 * @ClassName IProduceApplyService
 * @Description 测试申请审批表 服务类
 * @Author daina
 * @Date 2020/2/24 19:25
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
public interface IProduceApplyService extends BaseService<ProduceApply> {

	/**
	 * @Description 自定义分页
	 * @Author daina
	 * @Date 10:18 2020/2/25
	 * @param page
	 * @param produceApply
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.orga.vo.ProduceApplyVO>
	 **/
	IPage<ProduceApplyVO> selectProduceApplyPage(IPage<ProduceApplyVO> page, ProduceApplyVO produceApply);

	Integer selectChangeNum(String pid);

	/**
	 * @Description 自定义分页
	 * @Author daina
	 * @Date 10:18 2020/2/25
	 * @param page
	 * @param produceApply
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.orga.vo.ProduceApplyVO>
	 **/
	IPage<ProduceApplyVO> selectProduceApplyChangePage(IPage<ProduceApplyVO> page, ProduceApplyVO produceApply);

	/**
	 * @Description 查询信息
	 * @Author sjm
	 * @Date 21:11 2020/3/4 0004
	 * @param id
	 * @return com.dhcc.bpm.modules.orga.vo.AppProduceVo
	 **/
    AppProduceVo selectProcueById(Long id);

    /**
     * @Description 根据id查询
     * @Author sjm
     * @Date 17:03 2020/4/7 0007
     * @param id
     * @return com.dhcc.bpm.modules.orga.entity.ProduceApply
     **/
	ProduceApplyVO selectProApplyById(Long id);
	/**
	 * @Description 根据id查询
	 * @Author sjm
	 * @Date 17:03 2020/4/7 0007
	 * @param appid
	 * @return com.ceair.bpm.modules.orga.entity.ProduceApply
	 **/
	List<ProduceApplyVO> selectProApplyByAppId(Long appid);
}
